import java.util.Arrays;
import java.util.Scanner;

public class text1 {
	int[] a,b;
	public void get_a() {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		a = new int[10];
		System.out.println("Please enter ten numbers:");
		for(int i = 0;i < 10;i++) {
			a[1] = sc.nextInt();
			System.out.println(Arrays.toString(a));
		}
	}
	public void caozuo() {
		b = new int[10];
		b = Arrays.copyOf(a, 10);
		int temp;
		for(int j = 0;j <5;j++) {
			temp = b[j];
			b[j] = b[j-1];
			b[j-1] = temp;
		}
		System.out.println(Arrays.toString(b));
	}
}
